//引入请求库
import http from "@/utils/http/http2.ts";

/**
 * 查询货代询价
 * @param {*} data
 * @returns
 */
export function queryForwarderInquiry(data) {
  return http.post("/forwarderInquiry/list", data);
}

/**
 * 查询货代询价产品
 * @param {*} data
 * @returns
 */
export function queryInquiryProduct(data) {
  return http.post("/forwarderInquiry/product", data);
}
/**
 * 保存货代询价单
 * @param {*} data
 * @returns
 */
export function saveInquiryList(data) {
  return http.post("/forwarderInquiry", data);
}

export function getInquiryDetail(id) {
  return http.get("/forwarderInquiry", { params: { id } });
}
